const overdueCN = {
    title: '账户被注销或被另一台设备登录，可以取消留在此页，或重新登录。',
    content: '点击重新登录按钮后，您将跳转到登录页面。',
    okText: '重新登录',
    cancelText: '取消',
}

const overdueEN = {
    title: 'You have been logged out, you can cancel to stay on this page, or log in again',
    content: 'After clicking the Re-Login button, you will jump to the login page',
    okText: 'Re-Login',
    cancelText: 'Cancel',
}

const overdueCNTW = {
    title: '帳戶被註銷，可以取消留在此頁，或重新登錄。',
    content: '點擊重新登錄按鈕後，您將跳轉到登錄頁面。',
    okText: '重新登錄',
    cancelText: '取消',
}

const codesCN = [
    ['401', overdueCN], //'您权限不足 ~ 请联系管理员升级权限'
    ['701', overdueCN],

    ['400','参数校验错误或格式不正确~'],
    ['4001','数据不能为空~'],
    ['4002','填写的参数数据错误~'],
    ['4003','未查询到此信息~'],
    ['4003_1','没有此用户~'],
    ['4003_2','未查询到广告系列信息~'],
    ['4003_3','未查询到广告活动信息~'],

    ['4003_4','未查询到公司样式信息~'],
    ['4003_5','未查询到该文件~'],
    ['4003_6','未查询到过滤器数组数据~'],
    ['4003_7','未查询到过滤器数据~'],
    ['4003_8','密码或邮箱有误~'],

    ['4003_9','权限不足'],
    ['4003_10','未查询到公司信息~'],
    ['4003_11','公司信息无法与该用户匹配 ~'],
    ['4003_12','该账户已被冻结，请联系管理员 ~'],

    ['4004','修改用户信息有误~'],
    ['4006','添加公司信息有误~'],
    ['4007','添加新用户有误~'],
    ['4008','用户绑定公司有'],
    ['4009','用户授权失败~'],
    ['4010','添加定位地址有误~'],
    ['4011','添加广告活动有误~'],
    ['4012','超出定义值~'],
    ['4013','低于定义值~'],
    ['4014','修改广告活动状态失败，广告系列为null或广告不存在~'],
    ['4015','修改广告活动失败'],
    ['4016','修改广告定位失败~'],
    ['4017','时间必须为将来时~'],
    ['4018','添加广告系列横幅有误~'],
    ['4019','添加广告系列有误~'],
    ['4020','添加广告系列视频有误~'],
    ['4021','修改CreativeLimit失败~'],
    ['4022','该状态下不可修改~'],
    ['4023','修改广告系列信息有误~'],

    ['4024','父级文件夹为空~'],
    ['4025','父级id不是为文件夹~'],
    ["4026", "该用户已存在"],
    ["4027", "添加或修改样式失败"],

    ["4028", "复制广告信息失败"],
    ["4029", "删除文件失败"],

    ["4031", "上传文件失败"],
    ["4032", "文件格式错误"],
    ["4033", "请求链接过期，请重新发送邮箱"],
    ["4034", "新密码不能和旧密码相同"],
    ["4035", "您账户余额不足"],
    ["4036", "已花费金额超出此预算，请提高你的预算额度"],

    ["4037", "该广告活动已归档，不可操作"],
    ["4038", "表达式格式错误"],
    ["4039", "请停止正在运行的广告活动"],
    ["4040", "不存在该过滤器类型"],
    ["4041", "过滤器id为空"],
    ["4042", "过滤器id有误"],
    ["4043", "不可重复请求"],
    ["4044", "不存在该过滤器类型"],
    ["4045", "文件id有误"],
    ["4046", "该文件夹内存在有图片，请先删除"],
    ["4047", "删除失败，该文件夹内存正在使用的图片"],

    ['500', '服务器繁忙~'],
    ['5001','连接失败~'],
    ['5002','服务器开小差 ~'],
    ['5003', '请稍等片刻 ~'],
]

const codesCNTW = [
    ['401', overdueCNTW],//'您許可權不足 ~ 請聯繫管理員升級許可權'
    ['701', overdueCNTW],

    ['400','參數校驗錯誤或格式不正確~'],
    ['4001','資料不能為空~'],
    ['4002','填寫的參數資料錯誤~'],
    ['4003','未查詢到此資訊~'],
    ['4003_1','沒有此用戶~'],
    ['4003_2','未查詢到廣告系列資訊~'],
    ['4003_3','未查詢到廣告活動資訊~'],

    ['4003_4','未查詢到公司樣式資訊~'],
    ['4003_5','未查詢到該文件~'],
    ['4003_6','未查詢到篩檢程式陣列資料~'],
    ['4003_7','未查詢到篩檢程式資料~'],
    ['4003_8','密碼或郵箱有誤~'],

    ['4003_9','許可權不足'],
    ['4003_10','未查詢到公司資訊~'],
    ['4003_11','公司資訊無法與該使用者匹配 ~'],
    ['4003_12','該帳戶已被凍結，請聯繫管理員 ~'],

    ['4004','修改使用者資訊有誤~'],
    ['4006','添加公司資訊有誤~'],
    ['4007','添加新用戶有誤~'],
    ['4008','用戶綁定公司有'],
    ['4009','用戶授權失敗~'],
    ['4010','添加定位地址有誤~'],
    ['4011','添加廣告活動有誤~'],
    ['4012','超出定義值~'],
    ['4013','低於定義值~'],
    ['4014','修改廣告活動狀態失敗，廣告系列為null或廣告不存在~'],
    ['4015','修改廣告活動失敗'],
    ['4016','修改廣告定位失敗~'],
    ['4017','時間必須為將來時~'],
    ['4018','添加廣告系列橫幅有誤~'],
    ['4019','添加廣告系列有誤~'],
    ['4020','添加廣告系列視頻有誤~'],
    ['4021','修改CreativeLimit失敗~'],
    ['4022','該狀態下不可修改~'],
    ['4023','修改廣告系列資訊有誤~'],

    ['4024','父級資料夾為空~'],
    ['4025','父級id不是為資料夾~'],
    ["4026", "該用戶已存在"],
    ["4027", "添加或修改樣式失敗"],

    ["4028", "複製廣告資訊失敗"],
    ["4029", "刪除檔失敗"],

    ["4031", "上傳檔失敗"],
    ["4032", "檔案格式錯誤"],
    ["4033", "請求連結過期，請重新發送郵箱"],
    ["4034", "新密碼不能和舊密碼相同"],
    ["4035", "您帳戶餘額不足"],
    ["4036", "已花費金額超出此預算，請提高你的預算額度"],

    ["4037", "該廣告活動已歸檔，不可操作"],
    ["4038", "運算式格式錯誤"],
    ["4039", "請停止正在運行的廣告活動"],
    ["4040", "不存在該篩檢程式類型"],
    ["4041", "篩檢程式id為空"],
    ["4042", "篩檢程式id有誤"],
    ["4043", "不可重複請求"],
    ["4044", "不存在該篩檢程式類型"],
    ["4045", "文件id有誤"],
    ["4046", "該檔記憶體在有圖片，請先刪除"],
    ["4047", "刪除失敗，該資料夾記憶體正在使用的圖片"],

    ['500','伺服器繁忙~'],
    ['5001','連接失敗~'],
    ['5002','伺服器開小差 ~'],
    ['5003', '請稍等片刻 ~'],


]

const codesEN = [
    ['401', overdueEN],//'You have insufficient privileges. ~Please contact the administrator to upgrade'
    ['701', overdueEN],

    ['400','Error in parameter checking or incorrect format ~'],
    ['4001','Data cannot be empty ~'],
    ['4002','Error in filling in parameter data ~'],
    ['4003','This information was not queried ~'],

    ['4003_1','No such user ~'],
    ['4003_2','No Advertising Series Information Queried ~'],
    ['4003_3','No advertising campaign information was queried~ ~'],
    ['4003_4','No company style information was queried ~'],
    ['4003_5','The file was not queried ~'],
    ['4003_6','No filter array data was queried ~'],
    ['4003_7','No filter data was queried ~'],
    ['4003_8','Error in password or mailbox ~'],

    //4003_10
    ['4003_9', 'Unauthorized'],
    ['4003_10','No company information was queried ~'],
    ['4003_11','Company information does not match that user ~'],
    ['4003_12','This account has been frozen. Please contact the administrator ~'],

    ['4004','Error in modifying user information ~'],
    ['4006','Incorrect addition of company information ~'],
    ['4007','Failed to add new users ~'],
    ['4008','User Binding Company Error ~'],
    ['4009','User Authorization Failed ~'],
    ['4010','Error adding location address ~'],
    ['4011','Incorrect addition of advertising campaigns ~'],
    ['4012','Beyond the maximum ~'],
    ['4013','Below the defined value ~'],
    ['4014','Failed to modify the status of the advertising campaign, the advertising series is null or the advertising does not exist~'],
    ['4015','Failure to modify advertising campaign ~'],
    ['4016','Failure to modify advertising positioning ~'],
    ['4017','Time must be the future tense ~'],
    ['4018','Incorrect addition of banners for advertising series~'],
    ['4019','Error in Adding Advertising Series ~'],
    ['4020','Error in Adding Advertising Series Video ~'],
    ['4021','Failed to modify Creative Limit ~'],
    ['4022','In this state, it can not be modified.~'],
    ['4023','Error in revising advertising series information ~'],
    ['4024','The parent folder is empty ~'],
    ['4025','The parent ID is not a folder ~'],
    ['4026','The user already exists ~'],
    ['4027','Failed to add or modify styles ~'],

    ["4028", "Failure to replicate advertising information~"],
    ["4029", "Failed to delete file~"],

    ["4031", "Failed to upload file~"],
    ["4032", "File format error~"],
    ["4033", "Request link expires, please re-send mailbox~"],
    ["4034", "The new password cannot be the same as the old one~"],
    ["4035", "Your account balance is insufficient ~"],
    ["4036", "The amount spent exceeds this budget. Please raise your budget ~"],
    ["4047", "Delete failed, the folder remembers the pictures in use ~"],

    ["4037", "the advertising activity has been archived and is not operable ~"],
    ["4038", "expression format error ~"],
    ["4039", "please stop the running advertising activity ~"],
    ["4040", "the filter type does not exist ~"],
    ["4041", "filter ID is empty ~"],
    ["4042", "wrong filter ID ~"],
    ["4043", "non repeatable request ~"],
    ["4044", "the filter type does not exist ~"],
    ["4045", "Wrong file ID ~"],
    ["4046", "There are pictures in this folder. Please delete them first ~"],

    ['500','Server busy ~'],
    ['5001','connection failed ~'],
    ['5002','Server busy ~'],
    ['5003', 'Please wait a moment ~'],
]

export {
    codesCN,
    codesEN,
    codesCNTW,
}
